package com.plian.system.service.fr.report;

import com.baomidou.mybatisplus.extension.service.IService;
import com.plian.Tools.pagedata.PageData;
import com.plian.system.entity.fr.report.Report;
import com.plian.system.model.ListResult;
import com.plian.system.vo.yth.YthExcelInfoVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: gangan
 * @create: 2022-01-07 16:37
 */
public interface IReportService extends IService<Report> {


    /**
     * 获取对应审定表数据
     * @param pageData
     */
    ListResult<PageData> findAuthorizeValue(PageData pageData);

    /**
     *
     * @param year
     * @return
     */
    List<Report> findFinishByYear(int year);

    String ythExcelUpload(YthExcelInfoVO ythExcelInfoVO, MultipartFile multipartFile);

    /**
     * 根据年份 id获取所有表的值
     * @param year
     * @param id
     * @return
     */
    List<Map<String, Object>> getAllValue(String year, String id);
}
